{% extends "./inc_base.html" %}
{% block content %}
    <!--
        PAGE HEADER

        CLASSES:
            .page-header-xs	= 20px margins
            .page-header-md	= 50px margins
            .page-header-lg	= 80px margins
            .page-header-xlg= 130px margins
            .dark			= dark page header

            .shadow-before-1 	= shadow 1 header top
            .shadow-after-1 	= shadow 1 header bottom
            .shadow-before-2 	= shadow 2 header top
            .shadow-after-2 	= shadow 2 header bottom
            .shadow-before-3 	= shadow 3 header top
            .shadow-after-3 	= shadow 3 header bottom
    -->

    <!-- /PAGE HEADER -->
<section >
    <div  class="container">
        <div class="row">
        <div class="col-md-2 col-sm-2">
            {%column data="column",pid=breadcrumb[0].id%}
            {%if column %}
            <div class="list-group">
                {%for val in column%}
                <a href="{{val.url}}" class="list-group-item {%if val.id == category.id %}active{%endif%}">{{val.name}}</a>
                {%endfor%}
            </div>
            {%endif%}
        </div>
        <div class="col-md-10 col-sm-10">
            <div class="panel panel-info">
                <div class="panel-heading" style="background-color: #337ab7;color: #fff;">
                    {%column data="parent",id=category.pid%}
                    <h2 class="panel-title">{{parent[0].name}}-{{category.title}}</h2>
                </div>
                <div class="panel-body" style="min-height: 500px">
                    <div id="contentcmswing">{{category.sp_html_pc|safe}}</div>
                    <!--{% if parent[0].url == "/price_index" %}&lt;!&ndash;价格指数&ndash;&gt;
                    <iframe src="http://218.24.153.126:8089/WebReport/ReportServer?formlet=HJ%2Fmh%2Fzszh.frm" height="1000px" width="100%"></iframe>
                    {% elif parent[0].url == "/price_public" %}&lt;!&ndash;价格公示&ndash;&gt;
                    <iframe src="http://218.24.153.126:8089/WebReport/ReportServer?reportlet=HJ%2Fmh%2F004_MH_JGGS.cpt&op=write" height="1000px" width="100%"></iframe>
                    {% else %}
                    <div>此处嵌入帆软报表数据</div>
                    {% endif %}-->
                </div>
            </div>

        </div>
        </div>
    </div>
</section>
{% endblock %}